package com.zhanggm.student.model;

import com.zhanggm.student.entity.Student;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class StudentModel extends Student {
    private List<Integer> stuIdList;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date joinTimeStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date joinTimeEnd;

    private List<Integer> hobbyIdList;
    private String hobbyNames;

    private String proviceName;
    private String cityName;
    private String areaName;
}
